#include <Rectangle.h>
Rectangle::Rectangle(Uint32 len,Uint32 width):length_m(len),width_m(width)
{

}

Uint32 Rectangle::getArea() const
{
    return length_m * width_m;
}

Uint32 Rectangle::getPerimeter() const
{
    return (length_m + width_m) * 2;
}

void Rectangle::setWidth(Uint32 width)
{
    width_m = width;
}

void Rectangle::setLength(Uint32 len)
{
    length_m = len;
}
